-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update API client #1032
Update API client #1032
Conversation
Your Render PR Server URL is https://files-ui-stage-pr-1032.onrender.com. Follow its progress at https://dashboard.render.com/static/srv-c2hr5jr2v8p851phcg50. |
packages/files-ui/src/Components/Modules/FileBrowsers/CSFFileBrowser.tsx
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/CSFFileBrowser.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Tanmoy Basak Anjan <tanmoy3399@gmail.com>
Co-authored-by: Tanmoy Basak Anjan <tanmoy3399@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is one hell of a refactor. I am still trying to wrap my head around everything. I have a better understanding of the filebrowser contexting now.
I noticed these functionalities breaking.
-
Rename not working (mainly because the renameItems wants CIDs, but the browser is sending a path)
-
In grid view, folder navigation not working (viewFolder prop not passed)
-
Download from menu options is breaking
-
Could not load file info (this might be API problem)
-
In Bin view, recover file doesn't trigger
-
I'm not getting any search results in the dropdown. but getting them in browser view.
we can always break some of these problems into separate issues if the changes are too big,
Note: I noticed we are using the name FilesContext
but also useDrive
, is this intentional design? I got a little confused with them
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 🔥
Thanks for checking up on these. I will rather just fix up all these glitches now... I dont think that any of those should take me too long to sort out... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow there's a huge amount of goodness in this PR!! I went through the code in details, will test thoroughly after the fix for everything Tanmoy mentioned.
packages/files-ui/src/Components/Modules/DownloadProgressModals/index.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/BinFileBrowser.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/BinFileBrowser.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/CSFFileBrowser.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/CSFFileBrowser.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/UploadProgressModals/index.tsx
Outdated
Show resolved
Hide resolved
packages/files-ui/src/Components/Modules/FileBrowsers/FileInfoModal.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>
…Safe/files-ui into mnt/update-api-client-1008
all of these items seem to be fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is 🔥 of a refactor!
* Fix upload (#1010) * Bulk operations for Bin (#1017) * Set the base for Cypress tests and automation (#1016) * Update Send Feedback Link (#1024) * only enable logging in non-mainnet env (#1020) * Optimize tests (#1027) * fix (#1030) * File browser context provider (#1026) * work on selections (#1029) * Remove release drafter for now (#1038) * Update Readme for tests (#1036) * Delete release_drafter.yml (#1039) * Bulk DND Move files (#1028) * Test file upload (#1035) * Selection removal preventions (#1037) * Theme selection UI fix (#1033) * Update API client (#1032) * make it light and the files blue (#1049) * React-PDF Worker fixes (#1052) * Store screenshots and video of failing tests (#1054) * fix test classes and add rename test (#1055) * Hide date for folders (#1060) * s/testId/testid (#1064) * folder path in route fixed (#1066) * Resolve File Browser race condition (#1069)
Remove references to the soon to be deprecated
files/
api and replace these with thebucket/{bucket id}
apisFixed a bunch of routing problems by using encodeURIComponent
Updated react-pdf and used the webpack entry point